/**
 * 
 */
package org.dse.dao;

import java.util.List;

import org.dse.beans.KeywordIndex;

/**
 * The interface provides additional methods in keyword index access.
 * 
 * As KeywordIndexDAO, the system may want to find an index using its keyword.
 * 
 * @author zhangchen
 * 
 */
public interface KeywordIndexDAO extends GenericDAO<KeywordIndex, Integer> {

	/**
	 * Query indexes using the keyword.
	 * 
	 * @param keyword
	 *            the keyword
	 * @return a List containing all the indexes
	 */
	public List<KeywordIndex> findByKeyword(String keyword);
}
